package com.lxmes.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 质检工单控制对象 nc_quality_inspection_control
 *
 * @author lx
 * @date 2023-06-01
 */
@ApiModel(value = "NcQualityInspectionControl", description = "质检工单控制对象")
public class NcQualityInspectionControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("${column.columnComment}")
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 报检编号 */
    @Excel(name = "报检编号")
    @ApiModelProperty("报检编号")
    private String inspectionNumber;

    /** 入库单号 */
    @Excel(name = "入库单号")
    @ApiModelProperty("入库单号")
    private String inboundNumber;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String materialName;

    /** 物料子编号 */
    @Excel(name = "物料子编号")
    @ApiModelProperty("物料子编号")
    private String materialSubcode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    @ApiModelProperty("供应商名称")
    private String supplierName;

    /** 物料单位 */
    @Excel(name = "物料单位")
    @ApiModelProperty("物料单位")
    private String materialUnit;

    /** 批次 */
    @Excel(name = "批次")
    @ApiModelProperty("批次")
    private String batchNumber;

    /** 入库数量 */
    @Excel(name = "入库数量")
    @ApiModelProperty("入库数量")
    private Long inboundQuantity;

    /** 库位编码 */
    @Excel(name = "库位编码")
    @ApiModelProperty("库位编码")
    private String locationCode;

    /** 库位数量 */
    @Excel(name = "库位数量")
    @ApiModelProperty("库位数量")
    private Long locationQuantity;

    /** 质检控制 */
    @Excel(name = "质检控制")
    @ApiModelProperty("质检控制")
    private String qualityControl;

    /** 质检节点 */
    @Excel(name = "质检节点")
    @ApiModelProperty("质检节点")
    private String qualityNode;

    /** 检验项目 */
    @Excel(name = "检验项目")
    @ApiModelProperty("检验项目")
    private String inspectionItem;

    /** 抽检数量 */
    @Excel(name = "抽检数量")
    @ApiModelProperty("抽检数量")
    private Long samplingQuantity;

    /** 破坏数量 */
    @Excel(name = "破坏数量")
    @ApiModelProperty("破坏数量")
    private Long destructionQuantity;

    /** 检验地点 */
    @Excel(name = "检验地点")
    @ApiModelProperty("检验地点")
    private String inspectionLocation;

    /** 检验单位编码 */
    @Excel(name = "检验单位编码")
    @ApiModelProperty("检验单位编码")
    private String inspectionUnitCode;

    /** 检验单位编名称 */
    @Excel(name = "检验单位编名称")
    @ApiModelProperty("检验单位编名称")
    private String inspectionUnitName;

    /** 质检员工号 */
    @Excel(name = "质检员工号")
    @ApiModelProperty("质检员工号")
    private String inspectorId;

    /** 质检员姓名 */
    @Excel(name = "质检员姓名")
    @ApiModelProperty("质检员姓名")
    private String inspectorName;

    /** 检具类型 */
    @Excel(name = "检具类型")
    @ApiModelProperty("检具类型")
    private String inspectionToolType;

    /** 报检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报检时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("报检时间")
    private Date inspectionDate;

    /** 接检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接检时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("接检时间")
    private Date acceptanceDate;

    /** 检验类型 */
    @Excel(name = "检验类型")
    @ApiModelProperty("检验类型")
    private String inspectionType;

    /** 检验时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检验时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("检验时间")
    private Date inspectionTime;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setInspectionNumber(String inspectionNumber)
    {
        this.inspectionNumber = inspectionNumber;
    }

    public String getInspectionNumber()
    {
        return inspectionNumber;
    }
    public void setInboundNumber(String inboundNumber)
    {
        this.inboundNumber = inboundNumber;
    }

    public String getInboundNumber()
    {
        return inboundNumber;
    }
    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getMaterialName()
    {
        return materialName;
    }
    public void setMaterialSubcode(String materialSubcode)
    {
        this.materialSubcode = materialSubcode;
    }

    public String getMaterialSubcode()
    {
        return materialSubcode;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setMaterialUnit(String materialUnit)
    {
        this.materialUnit = materialUnit;
    }

    public String getMaterialUnit()
    {
        return materialUnit;
    }
    public void setBatchNumber(String batchNumber)
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber()
    {
        return batchNumber;
    }
    public void setInboundQuantity(Long inboundQuantity)
    {
        this.inboundQuantity = inboundQuantity;
    }

    public Long getInboundQuantity()
    {
        return inboundQuantity;
    }
    public void setLocationCode(String locationCode)
    {
        this.locationCode = locationCode;
    }

    public String getLocationCode()
    {
        return locationCode;
    }
    public void setLocationQuantity(Long locationQuantity)
    {
        this.locationQuantity = locationQuantity;
    }

    public Long getLocationQuantity()
    {
        return locationQuantity;
    }
    public void setQualityControl(String qualityControl)
    {
        this.qualityControl = qualityControl;
    }

    public String getQualityControl()
    {
        return qualityControl;
    }
    public void setQualityNode(String qualityNode)
    {
        this.qualityNode = qualityNode;
    }

    public String getQualityNode()
    {
        return qualityNode;
    }
    public void setInspectionItem(String inspectionItem)
    {
        this.inspectionItem = inspectionItem;
    }

    public String getInspectionItem()
    {
        return inspectionItem;
    }
    public void setSamplingQuantity(Long samplingQuantity)
    {
        this.samplingQuantity = samplingQuantity;
    }

    public Long getSamplingQuantity()
    {
        return samplingQuantity;
    }
    public void setDestructionQuantity(Long destructionQuantity)
    {
        this.destructionQuantity = destructionQuantity;
    }

    public Long getDestructionQuantity()
    {
        return destructionQuantity;
    }
    public void setInspectionLocation(String inspectionLocation)
    {
        this.inspectionLocation = inspectionLocation;
    }

    public String getInspectionLocation()
    {
        return inspectionLocation;
    }
    public void setInspectionUnitCode(String inspectionUnitCode)
    {
        this.inspectionUnitCode = inspectionUnitCode;
    }

    public String getInspectionUnitCode()
    {
        return inspectionUnitCode;
    }
    public void setInspectionUnitName(String inspectionUnitName)
    {
        this.inspectionUnitName = inspectionUnitName;
    }

    public String getInspectionUnitName()
    {
        return inspectionUnitName;
    }
    public void setInspectorId(String inspectorId)
    {
        this.inspectorId = inspectorId;
    }

    public String getInspectorId()
    {
        return inspectorId;
    }
    public void setInspectorName(String inspectorName)
    {
        this.inspectorName = inspectorName;
    }

    public String getInspectorName()
    {
        return inspectorName;
    }
    public void setInspectionToolType(String inspectionToolType)
    {
        this.inspectionToolType = inspectionToolType;
    }

    public String getInspectionToolType()
    {
        return inspectionToolType;
    }
    public void setInspectionDate(Date inspectionDate)
    {
        this.inspectionDate = inspectionDate;
    }

    public Date getInspectionDate()
    {
        return inspectionDate;
    }
    public void setAcceptanceDate(Date acceptanceDate)
    {
        this.acceptanceDate = acceptanceDate;
    }

    public Date getAcceptanceDate()
    {
        return acceptanceDate;
    }
    public void setInspectionType(String inspectionType)
    {
        this.inspectionType = inspectionType;
    }

    public String getInspectionType()
    {
        return inspectionType;
    }
    public void setInspectionTime(Date inspectionTime)
    {
        this.inspectionTime = inspectionTime;
    }

    public Date getInspectionTime()
    {
        return inspectionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("inspectionNumber", getInspectionNumber())
            .append("inboundNumber", getInboundNumber())
            .append("materialName", getMaterialName())
            .append("materialSubcode", getMaterialSubcode())
            .append("supplierName", getSupplierName())
            .append("materialUnit", getMaterialUnit())
            .append("batchNumber", getBatchNumber())
            .append("inboundQuantity", getInboundQuantity())
            .append("locationCode", getLocationCode())
            .append("locationQuantity", getLocationQuantity())
            .append("qualityControl", getQualityControl())
            .append("qualityNode", getQualityNode())
            .append("inspectionItem", getInspectionItem())
            .append("samplingQuantity", getSamplingQuantity())
            .append("destructionQuantity", getDestructionQuantity())
            .append("inspectionLocation", getInspectionLocation())
            .append("inspectionUnitCode", getInspectionUnitCode())
            .append("inspectionUnitName", getInspectionUnitName())
            .append("inspectorId", getInspectorId())
            .append("inspectorName", getInspectorName())
            .append("inspectionToolType", getInspectionToolType())
            .append("inspectionDate", getInspectionDate())
            .append("acceptanceDate", getAcceptanceDate())
            .append("inspectionType", getInspectionType())
            .append("inspectionTime", getInspectionTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
